/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ticks.chromedome;

/**
 *
 * @author Jared
 */
public class GlobalData {
    private double shooter_speed=0;
    private double turret_speed=0;
    private boolean vision=false;
    private int[] lights;
    /**
     * Sets the shooter speed for everything but manual mode WHEN THE SHOOTER SPEED CONTROL IS RUNNING!
     * @param speed 
     */
    public void setAutoShooterSpeed(double speed){
        shooter_speed=speed;
    }
    public double getAutoShooterSpeed(){
        return shooter_speed;
    }
    public boolean visionEnabled(){
        return vision;
    }
    public void setVisionEnabled(boolean state){
        vision = state;
    }
    
    public void setLights(int R, int G, int B){
        lights[0]=R;
        lights[1]=G;
        lights[2]=B;
    }
    
    public int[] getLights(){
        return lights;
    }
    
    
    
    
}
